shader_type canvas_item;

uniform vec4 color: hint_color;
uniform float margin;

void fragment()
{
	COLOR=color;
	if (abs(UV.x-0.5)>(0.5-margin)||abs(UV.y-0.5)>(0.5-margin)){
	COLOR=vec4(1,1,1,1);
	}
}